package exceptions.semantic;

import exceptions.semantic.SemanticException;

public class ConditionForException extends SemanticException {

	private int linea;
	private String tipo;
		 

    public ConditionForException(int l, String t){
	
		linea = l;
		tipo = t;
	
	}

	public String getMessage(){	
		return ("ConditionForException: Error Semantico! Detalle: La sentencia for no es correctamente tipada. Tipo: "+tipo+" - Linea: "+linea);
	}

	
}